00001
00002
00003
00004
00005 #ifndef __eglplatform_h_
00006 #define __eglplatform_h_
00007
00008
00009 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
00010 #define WIN32_LEAN_AND_MEAN 1
00011 #include <windows.h>
00012 #endif
00013
00014 #include <sys/types.h>
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef EGLAPIENTRY
00025 #define EGLAPIENTRY __stdcall
00026 #endif
00027
00028 #ifndef EGLAPI
00029 #ifdef __EGL_EXPORTS
00030 # define EGLAPI __declspec(dllexport)
00031 #else
00032 # define EGLAPI __declspec(dllimport)
00033 #endif
00034 #endif
00035
00036
00037
00038
00039
00040
00041
00042
00043 #define NativeDisplayType HDC
00044 #define NativeWindowType HWND
00045 #define NativePixmapType HBITMAP
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056 typedef NativeDisplayType EGLNativeDisplayType;
00057 typedef NativePixmapType EGLNativePixmapType;
00058 typedef NativeWindowType EGLNativeWindowType;
00059
00060 #endif